#define _CRT_SECURE_NO_WARNINGS
#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>

typedef int SLDataType;
typedef struct SeqList
{
	SLDataType data;
	struct SeqList* next;
}SeqList;

SeqList* SeqListCreateNode(SLDataType val);

void SeqListPrintNode(SeqList* pphead);

void SeqListPushFront(SeqList** pphead, SLDataType val);

void SeqListPushBack(SeqList** pphead, SLDataType val);

void SeqListPopFront(SeqList** pphead);

void SeqListPopBack(SeqList** pphead);

SeqList* SeqListFindNode(SeqList* pphead, SLDataType val);

void SeqListInsert(SeqList** pphead, SeqList* pos, SLDataType val);

void SeqListInsertAfter(SeqList** pphead, SeqList* pos, SLDataType val);

void SeqListErase(SeqList** pphead, SeqList* pos);

void SeqListDestroy(SeqList** pphead);

